package com.spic.business.plan.report.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.spic.business.common.core.domain.BasicEntity;
import com.spic.common.core.annotation.Excel;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 重大事项报告对象 plan_great_items_report
 * 
 * @author spic
 * @date 2021-10-15
 */
@Data
public class PlanGreatItemsReport extends BasicEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 预案启动编号 */
    @Excel(name = "预案启动编号")
    private String planStartNumber;

    /** 预案启动名称 */
    @Excel(name = "预案启动名称")
    private String planStartName;

    /** 预案名称 */
    @Excel(name = "预案名称")
    private String planName;

    /** 负责人 */
    @Excel(name = "负责人")
    private String principal;

    /** 呈报部门 */
    @Excel(name = "呈报部门")
    private String submitDepartment;

    /** 呈报部门及其下属部门 */
    @TableField(exist = false)
    private List<Long> submitDepartments;
    /** 呈报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "呈报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /** 事项简述 */
    @Excel(name = "事项简述")
    private String itemBrief;

    /** 领导意见 */
    @Excel(name = "领导意见")
    private String leaderOpinion;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String result;
}
